<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加班级</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="./css/index.css">
		<link rel="stylesheet" href="./layui/css/layui.css" />
</head>
<body>

 <div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 0 0 0;">
	     <div class="layui-form-item">
	        <label class="layui-form-label">用户名</label>
	        <div class="layui-input-inline">
	           <input type="text" id="userid" name="userid" lay-verify="userid" value="${loginuser.userid }" readonly="readonly" placeholder="用户名不能为空" autocomplete="off" class="layui-input">
	        </div>
	     </div>
	     <div class="layui-form-item">
	       <label class="layui-form-label">真实姓名</label>
	       <div class="layui-input-inline">
	          <input type="text" id="realname" name="realname" lay-verify="realname" value="${loginuser.realname }" readonly="readonly" autocomplete="off" class="layui-input">
	       </div>
	     </div>
	     <div class="layui-form-item">
	       <label class="layui-form-label">电话号码</label>
	       <div class="layui-input-inline">
	          <input type="text" id="phone" name="phone" lay-verify="phone" value="${loginuser.phone }" readonly="readonly" autocomplete="off" class="layui-input">
	       </div>
	     </div>
	     <div class="layui-form-item">
	       <label class="layui-form-label">用户状态</label>
	       <div class="layui-input-inline">
	       	  <c:if test="${loginuser.status!=null && loginuser.status == 10001}">
	          		<input type="text" id="status" name="status" lay-verify="status" value="启用账号" readonly="readonly" autocomplete="off" class="layui-input">
	          </c:if>
	          <c:if test="${loginuser.status!=null && loginuser.status == 10002}">
	          		<input type="text" id="status" name="status" lay-verify="status" value="禁用账号" readonly="readonly" autocomplete="off" class="layui-input">
	          </c:if>
	       </div>
	     </div>
	     <div class="layui-form-item">
	       <label class="layui-form-label">创建时间</label>
	       <div class="layui-input-inline">
	          <input type="text" id="createtime" name="createtime" value="${loginuser.createtime }" readonly="readonly" lay-verify="note" readonly="readonly" autocomplete="off" class="layui-input">
	       </div>
	     </div>
	     <div class="layui-form-item">
	       <label class="layui-form-label">用户角色</label>
	       <div class="layui-input-inline">
	          <input type="text" id="rolename" name="rolename" lay-verify="rolename" value="${loginuser.rolename }" readonly="readonly" autocomplete="off" class="layui-input">
	       </div>
	     </div>
  </div>

<script src="../js/jquery-3.3.1.js" charset="utf-8"></script>
<script src="../layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="../layui/layui.all.js" charset="utf-8"></script> 
</body>
</html>